#!/bin/bash

# Тест лексического анализатора

bin/simodo-grammatize -h > test/tmp/test-grammatize2.out
bin/simodo-grammatize data/grammar/fuze.fuze -a -z lr -r -i -u >> test/tmp/test-grammatize2.out
bin/simodo-grammatize data/grammar/fuze.fuze -a -l -r >> test/tmp/test-grammatize2.out
bin/simodo-grammatize data/grammar/fuze.fuze -a -z slr -r -i -o -u >> test/tmp/test-grammatize2.out
bin/simodo-grammatize data/grammar/fuze.fuze -a -l -r >> test/tmp/test-grammatize2.out
bin/simodo-grammatize data/grammar/fuze.fuze -a -j test/tmp/fuze-tree.json >> test/tmp/test-grammatize2.out
cat test/tmp/fuze-tree.json >> test/tmp/test-grammatize2.out

exit 0
